//
//  IMUserMessage.h
//  IMChezhil
//
//  Created by zhangliucheng on 15/7/8.
//  Copyright (c) 2015年 CheZhil. All rights reserved.
//

#import "IMMessage.h"

@interface IMUserMessage : IMMessage

@property (nonatomic, strong) NSString *userId;
@property (nonatomic, strong) NSString *messageId;

@property (nonatomic, assign) long long createdTime;
//消息类型
@property (nonatomic, assign) IMMessageType messageType;
//发送方向
@property (nonatomic, assign) IMMessageDirection messageDirection;
//发送状态
@property (nonatomic, assign) IMSentStatus sentStatus;
//阅读状态
@property (nonatomic, assign) IMReadStatus readStatus;

- (instancetype)initWithMessageId:(NSString *)msgId messageType:(IMMessageType)msgType messageDirection:(IMMessageDirection)msgDirection;

- (void)markReadStatus;
@end
